<?php
/**
 * 生成静态-重新生成新闻模块公共部分
 * @final
 */
class Staticizer_Apps_Tool_News_Public extends Staticizer
{
    public function Build($param=NULL)
    {
        #顶部-类别条
        StaticizerFactory::Create('news.class')->Build();

        #右侧-关键字
        StaticizerFactory::Create('news.keywords')->Build();
        
        #右侧-最新新闻
        StaticizerFactory::Create('news.latest')->Build();

        #访谈
        StaticizerFactory::Create('news.interview')->Build();

        #专题
        StaticizerFactory::Create('news.topic')->Build();

        #观察
        StaticizerFactory::Create('news.observe')->Build();

        #数据
        StaticizerFactory::Create('news.data')->Build();

        #法规
        StaticizerFactory::Create('news.law')->Build();

        #广告-列表页
        StaticizerFactory::Create('news.advertisement')->Build('list');

        #广告-内容页
        StaticizerFactory::Create('news.advertisement')->Build('content');
    }
}
?>
